package com.novel.bean;
/**
 * @ClassName:	Novelcategory.java
 * @Description:	小说分类(对应数据库中的novelcategory)
 * 
 * @author 作者：YF E-mail：
 * @version		V1.0
 * @Date 创建时间	2019年12月29日上午11:35:33
 *
 */
public class Novelcategory {
	private int id;//小说分类id
	private String categoryname;//分类名称
	
	public Novelcategory() {
		super();
	}

	public Novelcategory(int id, String categoryname) {
		this.id = id;
		this.categoryname = categoryname;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCategoryname() {
		return categoryname;
	}

	public void setCategoryname(String categoryname) {
		this.categoryname = categoryname;
	}

	@Override
	public String toString() {
		return "[id=" + id + ", categoryname=" + categoryname + "]";
	}
	
	
	
	
	
	
}
